package com.huabo.contract.service;

import com.hbfk.util.PageInfo;
import com.huabo.contract.oracle.entity.TblContractCollection;

import net.sf.json.JSONArray;

import java.math.BigDecimal;
import java.util.Map;

public interface TblContractCollectionService {
    String findCollectionListByPageInfo(PageInfo<TblContractCollection> pageInfo, String staffid, String contractname, String contractno,BigDecimal pid, TblContractCollection collection);

    Integer checkMoney(BigDecimal nodeId);

    Integer getSkMoney(BigDecimal nodeId);

    TblContractCollection findById(BigDecimal contractid);

    void mengerCollectionEntity(TblContractCollection oldCollection);

    void SaveMengerCollectionEntity(TblContractCollection collection);

    TblContractCollection findByCollectionId(Integer collectionId);

    void removeContractCollection(Integer collectionId);

    TblContractCollection findCollectionInfoByCollectId(Integer collectionId);
    
    String getSkContractIds();
    
   String setData(JSONArray arr);
   
}
